﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Intelsi.Entity;
using Intelsi.BusinessLogic;
using Microsoft.Practices.Unity;

namespace Intelsi.WB
{
    public partial class FrmListaMarca : System.Web.UI.Page
    {
        [Dependency]
        public IMarcaBL marcaBL { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void ObjectDataSource1_ObjectCreating(object sender, ObjectDataSourceEventArgs e)
        {
            e.ObjectInstance = marcaBL;
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            Response.Redirect("FrmMarca.aspx?acc=nuevo");
        }
    }
}